package org.zjx.core.impl;

import com.sun.jna.platform.win32.WinDef;
import lombok.Getter;
import lombok.Setter;
import org.zjx.core.AbstractWindow;
import org.zjx.operation.impl.RobotOperator;

import java.awt.*;

@Setter
public class StartWindow extends AbstractWindow {
    @Getter
    private String gameExePath;
    private boolean exists = true;

    public StartWindow(WinDef.HWND hwnd) {
        super(hwnd, new RobotOperator());
        executor.setWindow(this);
    }

    @Override
    public void updateState() {

    }

    @Override
    public boolean isExists() {
        return exists;
    }

    @Override
    public Rectangle getTrueBounds() {
        return getBounds();
    }

}
